package com.zhike.common.dto;

import javax.validation.constraints.NotNull;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 消息免打扰
 */
@Data
public class SessionNoDisturbDTO {

    @ApiModelProperty(value = "会话ID", required = true)
    private String sessionId;

    @ApiModelProperty(value = "免打扰开关", notes = "1:开启 0:关闭", required = true)
    @NotNull(message = "缺少参数action")
    private Integer action;
}
